﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WarehouseManagement.Domain.Entity;

namespace ProductionManagement.Domain.Dtos
{
    public class WarehousingStateDto
    {
        /// <summary>
        /// 仓库入库id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int ShippRequestAppId { get; set; }
        /// <summary>
        /// 单据主题
        /// </summary>
        public string? StorageTopic { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string? StorageNumber { get; set; }
        /// <summary>
        /// 单据来源
        /// </summary>
        public string? StorageSource { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WName { get; set; }
        /// <summary>
        /// 申请人员
        /// </summary>
        public string? AppName { get; set; }
        /// <summary>
        /// 申请日期
        /// </summary>
        public DateTime? AppDate { get; set; }
        /// <summary>
        /// 入库类别
        /// </summary>
        public string? StorageType { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? VName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? StorageRemark { get; set; }
        /// <summary>
        /// 状态 默认待入库
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdTime { get; set; }

        /// <summary>
        /// 删除人姓名
        /// </summary>
        public string? DelName { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DelTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDel { get; set; } = false;
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
        public List<StorageProduct> list { get; set; }
    }
}
